Set the Compilation Options

You can open the PLCClosed"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events options with the icon.

If you want step-by-step debugging to be available during simulation or online testing, you need to select the Debug compiling mode. If step-by-step debugging is no longer required, select the Release compiling mode in order to give highest performance to your application.

When you incorporate additional statements (such as trace outputs) in your code, you must select the Debug compiling mode so that they are taken into consideration (in RELEASE mode, those statements are not included).

Code generation

There are two code compilation options, Normal and Optimized.


  • Using Normal code is recommended in order to take advantage of all KAS PLC features, unless the controller is unable to meet performance requirements.